package com.woniuxy.yuekeuser.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @ClassName HotelCar
 * @Description 往ElasticSearch中写入的实体
 * @Author Cheney
 * @Date 2020/11/6 14:15
 **/

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(indexName = "emall",type = "hotelCar")
public class HotelCar {
    @Id
    private int hotelCarId;

    private int hotelCarPeopleNumber;

    private String hotelLocation;

    private int campsiteId;

    private int hotelCarNumber;

    private String hotelCarState;

    private double hotelCarPrice;

    private int userId;

    private String hotelCarWords;
}
